﻿using System;
using System.Linq;
using DataVisualizers;

namespace MyTestConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            var rand = new Random();

            // mouse-over debugger visualizer DOES NOT work here:
            double[] rawArray = Enumerable.Range(0,65536).Select(dummy => rand.NextDouble()).ToArray();

            // mouse-over debugger visualizer works fine
            ArrayWrapper wrapper = new ArrayWrapper { InnerArray = rawArray };

            // raw array visualizes here fine, however
            ArrayVisualizer.TestShowVisualizer(rawArray);

            // wrapped array visualizes here fine, too
            ArrayWrapperVisualizer.TestShowVisualizer(wrapper);

            Console.WriteLine("Done.");
        }
    }
}
